(newline)
(display "ex1.7: \n")
(define (average x y)
        (/ (+ x y) 2))

(define (good-enough? new old)
        (< (/ (abs (- new old)) old) 0.0000000001))
        
(define (improve guess x)
        (average guess (/ x guess)))

(define (sqrt-iter guess x)
        (if (good-enough? guess (improve guess x))
            guess
            (sqrt-iter (improve guess x) x)))
(define (sqrt x)
        (sqrt-iter 1.0 x))

(display (sqrt 0.000001))
(newline)